﻿<%@ Page Language="C#" MasterPageFile="~/Default.master" AutoEventWireup="true" CodeFile="EditProfile.aspx.cs" Inherits="EditProfile" Title="Sodevlogin - Editez votre profile" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Main" Runat="Server">
    <table class="TableStyle">
        <tr>
            <td colspan="2" class="TitleTextStyle">
                <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:labels, EditProfileTitre %>" />
            </td>
        </tr>
        <tr>
            <td width="50%" align="right">
                <asp:Label CssClass="LabelStyle" ID="Label1" runat="server" Text="<%$ Resources:labels, EditProfileUserName %>"></asp:Label></td>
            <td width="50%">
                <asp:Label CssClass="LabelStyle" ID="LabelNom" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td width="50%" align="right">
                <asp:Label CssClass="LabelStyle" ID="Label2" runat="server" Text="<%$ Resources:labels, EditProfileAdresseMessagerie %>"></asp:Label></td>
            <td width="50%">
                <asp:TextBox ID="TextBoxAdresseMessagerie" runat="server"></asp:TextBox>
                <asp:RegularExpressionValidator id="RegularExpressionValidatorEmail" 
                     ControlToValidate="TextBoxAdresseMessagerie"
                     ValidationExpression="\S+@\S+\.\S+"
                     Display="Static"
                     ErrorMessage="*"
                     EnableClientScript="False" 
                     runat="server"/>
            </td>
        </tr>
        <tr>
            <td align="right" width="50%">
                <asp:Label ID="Label6" runat="server" CssClass="LabelStyle" Text="<%$ Resources:labels, EditProfileDerniereConnexion %>"></asp:Label></td>
            <td width="50%">
                <asp:Label ID="LabelDerniereConnexion" runat="server" CssClass="LabelStyle"></asp:Label></td>
        </tr>
        <tr>
            <td width="50%" align="right">
                <asp:Label ID="Label3" runat="server" CssClass="LabelStyle" Text="<%$ Resources:labels, EditProfileDerniereActivite %>"></asp:Label></td>
            <td width="50%">
                <asp:Label ID="LabelDerniereActivite" runat="server" CssClass="LabelStyle"></asp:Label></td>
        </tr>
        <tr>
            <td align="right" width="50%">
                <asp:Label ID="Label5" runat="server" CssClass="LabelStyle" Text="<%$ Resources:labels, EditProfileDerniereMotDePass %>"></asp:Label></td>
            <td align="left" width="50%">
                <asp:Label ID="LabelDernierMotDePasse" runat="server" CssClass="LabelStyle" Text=""></asp:Label></td>
        </tr>
        <tr>
            <td align="right" width="50%">
                <asp:Label ID="Label4" runat="server" CssClass="LabelStyle" Text="<%$ Resources:labels, EditProfileQuestionSecurite %>"></asp:Label></td>
            <td align="left" width="50%">
                <asp:Label ID="LabelQuestionSecurite" runat="server" CssClass="LabelStyle"></asp:Label></td>
        </tr>
        <tr>
            <td align="right" width="50%">
                <asp:Label ID="Label7" runat="server" CssClass="LabelStyle" Text="<%$ Resources:labels, EditProfileDateCreation %>"></asp:Label></td>
            <td align="left" width="50%">
                <asp:Label ID="LabelCreationDate" runat="server" CssClass="LabelStyle"></asp:Label></td>
        </tr>
        <tr>
            <td width="50%" align="right">
                <asp:Button ID="ButtonModifier" runat="server" CssClass="LoginButtonStyle" Text="<%$ Resources:labels, EditProfileBoutonModifier %>" OnClick="ButtonModifier_Click" /></td>
            <td width="50%" align="left">
                <asp:Button ID="ButtonSupprimer" runat="server" CssClass="LoginButtonStyle" Text="<%$ Resources:labels, EditProfileBoutonSupprimer %>" OnClick="ButtonSupprimer_Click" /></td>
        </tr>
    </table>
    <br />
    <asp:Label CssClass="ErreurStyle" ID="Message" runat="server"></asp:Label><br />
</asp:Content>

